<html>
<head>
	<title>Note</title>
</head>
<style>
body{font-family:tahoma; font-size:13px;}
h3{
	font-size:19px; font-weight:normal;
	border-bottom:1px dotted #999999;
}
.item{
	padding:5px; border:1px solid #CCCCCC;
	background-color:#F5F5F5;
	margin-bottom:5px;
}
.cintent{padding:5px;}
.title{font-size:11px;}
</style>
<body>
<h3>Note Antara Pihak AA Pialang dengan Pihak Asuransi</h3>
<?php
if(count($data)>0){
	$a = $data[0]->note_sender;
	foreach($data as $m){
	?>
		<div class="item" <?php echo ($m->note_sender!=$a)?'style="text-align:right; background-color:#FFFF99;"':"";?>>
			<div class="title"><u><b><?php echo getUser($m->note_sender);?></b> Pada <?php echo myDate($m->note_date);?></u></div>
			<div class="cintent" ><?php echo $m->note_content;?></div>
		</div>
	<?php
	}
}
?>
</body>
</html>